package com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService;

public class IrmsForEomsServiceProxy implements com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.IrmsForEomsService_PortType {
  private String _endpoint = null;
  private com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.IrmsForEomsService_PortType irmsForEomsService_PortType = null;

  public IrmsForEomsServiceProxy() {
    _initIrmsForEomsServiceProxy();
  }

  private void _initIrmsForEomsServiceProxy() {
    try {
      irmsForEomsService_PortType = (new com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.IrmsForEomsService_ServiceLocator()).getIrmsForEomsServiceImplPort();
      if (irmsForEomsService_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)irmsForEomsService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)irmsForEomsService_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }

    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }

  public String getEndpoint() {
    return _endpoint;
  }

  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (irmsForEomsService_PortType != null)
      ((javax.xml.rpc.Stub)irmsForEomsService_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

  }

  public com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.IrmsForEomsService_PortType getIrmsForEomsService_PortType() {
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType;
  }

  public java.lang.String validateResource(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.validateResource(arg0, arg1, arg2, arg3, arg4);
  }

  public java.lang.String setNbrmsInfo(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.setNbrmsInfo(arg0, arg1, arg2, arg3, arg4);
  }

  public java.lang.String getCircuitInfo(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.getCircuitInfo(arg0, arg1, arg2, arg3, arg4);
  }

  public java.lang.String pushConstructResult(java.lang.String arg0, java.lang.String arg1) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.pushConstructResult(arg0, arg1);
  }

  public java.lang.String cancelResource(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.cancelResource(arg0, arg1, arg2, arg3, arg4);
  }

  public java.lang.String getIrmsData(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.getIrmsData(arg0, arg1, arg2, arg3, arg4);
  }

  public java.lang.String archive(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.rmi.RemoteException, com.boco.raptor.subsystem.attempx.server.proxy.AttempXIrmsService.UserException{
    if (irmsForEomsService_PortType == null)
      _initIrmsForEomsServiceProxy();
    return irmsForEomsService_PortType.archive(arg0, arg1, arg2, arg3, arg4);
  }


}
